package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.QualitySapPurchaseOrder;
import cc.comac.mom.util.ResultBean;
import io.swagger.annotations.ApiOperation;

@FeignClient(name = "mom-qar-srv")
public interface QualitySapPurchaseOrderService {

	@RequestMapping(value = "/p/cs/qualitySapPurchaseOrderService/insert",method = RequestMethod.POST)
	public ResultBean insert(@RequestBody QualitySapPurchaseOrder obj);
	
	@ApiOperation("通过条件查询对应数据")
	@RequestMapping(value = "/p/cs/qualitySapPurchaseOrderService/selectBySomeField",method = RequestMethod.POST)
	public ResultBean selectBySomeField(@RequestBody QualitySapPurchaseOrder qualitySapPurchaseOrder);
}
